package com.hlx.service;

import org.springframework.core.io.Resource;
import org.springframework.web.multipart.MultipartFile;

public interface ChatPdfService {

	/**
	 * 保存pdf
	 * @param chatId
	 * @param resource
	 * @return
	 */
	String save(MultipartFile file);

	/**
	 * 获取pdf
	 * @param chatId
	 * @return
	 */
	Resource getFile(String chatId);
}
